package com.atguigu.gulimallflow.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import utils.PageUtils;
import utils.Query;
import com.atguigu.gulimallflow.dao.ActHiActinstDao;
import com.atguigu.gulimallflow.entity.ActHiActinstEntity;
import com.atguigu.gulimallflow.service.ActHiActinstService;


@Service("actHiActinstService")
public class ActHiActinstServiceImpl extends ServiceImpl<ActHiActinstDao, ActHiActinstEntity> implements ActHiActinstService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<ActHiActinstEntity> page = this.page(
                new Query<ActHiActinstEntity>().getPage(params),
                new QueryWrapper<ActHiActinstEntity>()
        );

        return new PageUtils(page);
    }

}
